/*
 * Monkey.h
 *
 *  Created on: 27/11/2011
 *      Author: joaogf
 */

#ifndef MONKEY_H_
#define MONKEY_H_
#include "Image.h"
#include "text.h"
#define MONKEY_WIDTH 33
#define MONKEY_HEIGHT 33
#define MRIGHT 1
#define MLEFT 0

#define InBrigde 1

class Monkey {
	private:
	Image *img_;
	 SDL_Rect clips_[6];
	 int frame_;
	 int dir_;
	 int status_;
	 int id_;
	public:
		Monkey(const int &id);
		virtual ~Monkey();
		void move(const Point2d &pos);
		void show(SDL_Surface *parent);
		void setFrame(const int &frame);
		const int &getFrame()const;
		void setDir(const int &dir);
		const int &getDir()const;
		void setStatus(const int &st);
		const int &getStatus();
		const int &getId();
		const Point2d& getPos()const;
		void operator=(const Monkey &mon);
};

#endif /* MONKEY_H_ */
